package models

import (
	"gorm.io/gorm"
)

type Message struct {
	gorm.Model
	FormUserId int    `gorm:"type:int(20);not null;comment:'发送信息用户Id'"`
	ToUserId   int    `gorm:"type:int(20);not null;comment:'接收用户Id'"`
	RoomId     int    `gorm:"type:int(20);not null;"`
	Message    string `gorm:"type:varchar(255);not null;comment:'内容'"`
}
